package com.example.ssss.state;

import androidx.lifecycle.LiveData;
import androidx.lifecycle.MutableLiveData;
import androidx.lifecycle.ViewModel;

public class MyMqttServiceViewModel extends ViewModel {
    public MutableLiveData<String> serviceObserve = new MutableLiveData<>();

    public MutableLiveData<String> getServiceObserve() {
//        if (serviceObserve == null) {
//            serviceObserve = new MutableLiveData<String>();
//        }
        return serviceObserve;
    }
}
